﻿<Window x:Class="WindowsApplication.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="CodeGenerator.Templates.Projects.EventAbstractionApp_Simple" Height="448" Width="602" xmlns:my="clr-namespace:System;assembly=mscorlib">
    <Grid>

		<DockPanel>
			<Menu DockPanel.Dock="Top" Height="30">
				<MenuItem Header="File" >
					<MenuItem Tag="PrintItem" Header="Print" Click="PrintBttn_Click" />
				</MenuItem>
			</Menu>
			<StackPanel DockPanel.Dock="Right" Width="100">
				<Button  Width="75" Height="23" Tag="PrintItem" Name="button1" Click="PrintBttn_Click" >Print</Button>
				<TextBlock TextWrapping="Wrap">Note that this TextEditor Application is an example made to show the difference between coding using the Event Abstraction API and coding with out it. The print buttons will not actually print as that is not a goal of this application. All print items (buttons, menus etc) should be disabled once triggered</TextBlock>
			</StackPanel>
			
			
			<RichTextBox Name="richTextBox1" />
		</DockPanel>
	</Grid>
</Window>
